package com.smartstate.IOC.service;

import com.smartstate.IOC.entity.Alarm;
import com.smartstate.IOC.vo.AlarmVo;

import java.util.List;
import java.util.Map;
import java.util.concurrent.Future;

public interface AlarmService extends ServiceBase<Alarm>{


    List<Alarm> getLastTime();

    Future<Map<String,Object>> getAlarmCountByType(String stateType);

    List<AlarmVo> queryPageList();

    Map<String, Long> getThreeAlarm();

    Map<String,Object> getEnvironAlarm();

   Map<String, Integer> getAlarmTotal();

    Map<String, Integer> getEnvironTotal();

    Map<String, Object> getEquimentAlarm();
}
